/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const demoRouter = {
  path: '/demo',
  component: Layout,
  redirect: '/demo/list',
  name: 'Demo',
  meta: {
    title: '页面案例',
    icon: 'el-icon-files'
  },
  alwaysShow: true,
  children: [
    {
      path: 'list',
      component: () => import('@/views/demo/list'),
      name: 'DemoList',
      meta: { title: '列表页面', icon: 'list' }
    }
  ]
}
export default demoRouter
